class Employee:
    def __init__(self, name, id):
        self.name = name
        self.id = id
    def print_info(self):
        print(self.name,end=" ")
        print(self.id)
class FullTimeEmployee(Employee):
    def __init__(self,name, id, monthly_salary):
        super().__init__(name, id)
        self.monthly_salary = monthly_salary
    def calculate_monthly_salary(self):
        return self.monthly_salary

class PartialTimeEmployee(Employee):
    def __init__(self, name, id,daily_salary,work_days):
        super().__init__(name, id)
        self.daily_salary = daily_salary
        self.work_days = work_days
    def calculate_monthly_salary(self):
        return self.daily_salary * self.work_days
zhangsan = FullTimeEmployee("zhangsan", 20240405026, 10000)
lisi = PartialTimeEmployee("lisi", 20240405027, 100, 20)
print(zhangsan.calculate_monthly_salary())
print(lisi.calculate_monthly_salary())
zhangsan.print_info()
lisi.print_info()